import React, { Component } from 'react';
import { post, get, showNotification } from './utils/httpUtil.js';
import { changeTimeToString, deepClone } from './utils/normalUtil.js';

Component.prototype.$post = post;
Component.prototype.$get = get;
Component.prototype.$showNotification = showNotification;
Component.prototype.$changeTimeToString = changeTimeToString;
Component.prototype.$clone = deepClone;

export default class App extends React.Component {
    render() {
        return <div>{this.props.children}</div>;
    }
}
